package com.dempsey.dynamicmysql.controller;

import com.dempsey.dynamicmysql.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Dempsey
 * Date 2022/4/13
 * Description
 */

@RestController
public class UserController {

    @Autowired
    UserService userService;

    @GetMapping("/get")
    public String get(){
        return userService.insert();
    }


}
